
/* ==================
         进度条
 ==================== */

.tien-progress {
  overflow: hidden;
  height: 14px;
  background-color: #ebeef5;
  display: inline-flex;
  align-items: center;
  width: 100%;
  text-align: center;
}

.tien-progress+view, .tien-progress+text {
  line-height: 1;
}

.tien-progress.xs {
  height: 5px;
}

.tien-progress.sm {
  height: 10px;
}

.tien-progress view {
  width: 0;
  height: 100%;
  align-items: center;
  display: flex;
  justify-items: flex-end;
  justify-content: space-around;
  font-size: 10px;
  color: #fff;
  transition: width 0.6s ease;
}

.tien-progress text {
  align-items: center;
  display: flex;
  font-size: 10px;
  color: #666;
  text-indent: 5px;
}

.tien-progress.text-progress {
  padding-right: 30px;
}

.tien-progress.striped view {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 36px 36px;
}

.tien-progress.active view {
  animation: progress-stripes 2s linear infinite;
}

@keyframes progress-stripes {
  from {
    background-position: 36px 0;
  }

  to {
    background-position: 0 0;
  }
}
